#ifndef EXPMONTHVIEW_H
#define EXPMONTHVIEW_H

#include"expmonth.h"
#include"expdetails.h"
#include"db_class.h"
#include <QMainWindow>
#include<QListWidgetItem>

namespace Ui {
    class ExpMonthView;
}

class ExpMonthView : public QMainWindow
{
    Q_OBJECT

public:
    explicit ExpMonthView(int id,QString month,int mm,int yy,QWidget *parent = 0);
    ~ExpMonthView();

private:
    Ui::ExpMonthView *ui;
    QListWidgetItem *item1;
    int filter_id;
    QString m;
    db_class db;
private slots:
    void on_listWidget_itemActivated(QListWidgetItem* item);
    void back();
};

#endif // EXPMONTHVIEW_H
